appfirewall_policy
Configuration for Appfirewall Policy Hit Counters Report resource.
Read/write properties
ns_ip_address<String>
IP address of the NetScaler the policy is bound to..
rule<String>
Rule name configured on ADC..
schema_type<String>
One of the supported schema types..
pcp_hits<Integer>
PCP hits of the counter.
policy_name<String>
Policy name configured on ADC..
__count<Double>
count..
network_function<String>
network_function name configured on ADC..
rpt_sample_time<Double>
Report Sample time..
application_name<String>
application_name.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/appfirewall_policy
Query-parameters:
asc
Use this query-parameter to specify whether the results should be in ascending order or not.
Possible Values:yes, no
order_by
Use this query-parameter to get the result that is ordered by the given property.
Possible Values:pcp_hits, rpt_sample_time
report_end_time
Use this query-parameter to specify the end time until where summary for report is considered.
Possible Values:time in milli seconds
report_start_time
Use this query-parameter to specify the start time from which the summary for report is considered.
Possible Values:time in milli seconds
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "appfirewall_policy":[{
"ns_ip_address":<String_value>,
"rule":<String_value>,
"schema_type":<String_value>,
"pcp_hits":<Integer_value>,
"policy_name":<String_value>,
"__count":<Double_value>,
"network_function":<String_value>,
"rpt_sample_time":<Double_value>,
"application_name":<String_value>}]}